/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.expert.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.expert.entity.ExpertLibrary;
import com.jeeplus.modules.expert.mapper.ExpertLibraryMapper;

/**
 * 专家库Service
 * @author 卢经纬
 * @version 2018-06-26
 */
@Service
@Transactional(readOnly = true)
public class ExpertLibraryService extends CrudService<ExpertLibraryMapper, ExpertLibrary> {

	public ExpertLibrary get(String id) {
		return super.get(id);
	}
	
	public List<ExpertLibrary> findList(ExpertLibrary expertLibrary) {
		return super.findList(expertLibrary);
	}
	
	public Page<ExpertLibrary> findPage(Page<ExpertLibrary> page, ExpertLibrary expertLibrary) {
		return super.findPage(page, expertLibrary);
	}
	
	@Transactional(readOnly = false)
	public void save(ExpertLibrary expertLibrary) {
		super.save(expertLibrary);
	}
	
	@Transactional(readOnly = false)
	public void delete(ExpertLibrary expertLibrary) {
		super.delete(expertLibrary);
	}
	
}